;(function (window) {
    var ndeduDetails = {};
    /*根据url跳转至不同新闻分类*/
    ndeduDetails.getUrl = function() {
        var name = $('.type').text();

        if(name == '') {
            $('.type').attr('href', '/news.shtml#0');
            $('.type').text('产品相关报道');
        }else if(name == '活动相关报道') {
            $('.type').attr('href', '/news.shtml#1');
        }else if(name == '业务相关报道') {
            $('.type').attr('href', '/news.shtml#2');
        }else if(name == '领导人报道新闻') {
            $('.type').attr('href', '/news.shtml#3');
        }else {
            $('.type').attr('href', '/news.shtml#0');
        }
    },
    window.ndeduDetails = ndeduDetails;
})(window);
$(function(){
    ndeduDetails.getUrl();
});
